home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 26 (Anniversary Edition)
/
Volume 26 [Anniversary Edition] - JOGO DISK .iso
/
Fight
/
matrixbullettimefighting.swf
/
scripts
/
frame_7
/
DoAction.as
Wrap
Text File
|
2006-05-08
|
1KB
|
33 lines
APlayers = _root.EnemyPlayers + 1;
_root.EnergyAnz2.PE = 2;
PY = 1;
if(1 < _root.EnemyPlayers)
{
var forvar = 3;
while(_root.EnemyPlayers + 1 >= forvar)
{
_root["EnergyAnz" add forvar].removeMovieClip();
duplicateMovieClip(_root.EnergyAnz2,["EnergyAnz" add forvar],16384 + (forvar + 200));
_root["EnergyAnz" add forvar].PE = forvar;
_root["EnergyAnz" add forvar]._x = _root.EnergyAnz2._x;
_root["EnergyAnz" add forvar]._y = _root.EnergyAnz2._y - (_root.EnergyAnz2._height + 5) * PY;
PY += 1;
duplicateMovieClip(_root.Man2,["Man" add forvar],16384 + forvar);
_root["Man" add forvar].name = ["Man" add forvar];
_root["Man" add forvar].nameN = forvar;
_root["Man" add forvar].CPN = forvar;
_root["Man" add forvar]._x = _root.Man2._x + (forvar - 2) * 30;
forvar++;
}
_root.Man2.name = "Man2";
_root.Man2.nameN = 2;
_root.Man2.CPN = 2;
}
var forvar = 1;
while(APlayers >= forvar)
{
_root["Energy" add forvar] = 100;
_root["P" add forvar add "Bullets"] = _root.Bulletsanz;
forvar++;
}